const config = require('../templates')
const chalk = require('chalk')

module.exports = () => {
  let str = ''
  Object.keys(config.templates).forEach((item, index, array) => {
    if (index === array.length - 1) {
      str += item
    } else {
      str += `${item} \n`
    }
  })
  console.log(chalk.magenta('zero-cli 支持模板如下:'))
  console.log(chalk.cyan(str))
  process.exit()
}
